export CVSROOT=:ext:anoncvs@repo.nd280.org:/home/trt2kmgr/ND280Repository
export CVS_RSH=ssh
unset CVS_SERVER

#export dir0=/data/t2k/software/nd280_5A2/work
export dir0=/data/t2k/software/nd280_6B/work
#export dir0=/data/t2k/software/nd280_5E1/work
export mydir=/data/t2k/xlu/software/t2k/nd280

source /data/t2k/software/CMT/setup.sh

export CMTPATH=${mydir}:${dir0}

source ${dir0}/ROOT/v*/cmt/setup.sh

#not needed for hihgland2 or AnalysisTools
#source ${dir0}/nd280/v*/cmt/setup.sh

#should comment out when compiling nd280AnalysisTools -> both not needed even when AnalysisTools classes are used
#source ${mydir}/nd280AnalysisTools/v*/cmt/setup.sh 
#export NDANADIR=${mydir}/nd280AnalysisTools/v*/AnalysisTools

#not to use, this is highland old
#source ${mydir}/highland/highLevelAnalysis/v*/cmt/setup.sh

source ${mydir}/nd280Highland2/v*/cmt/setup.sh
source ${mydir}/psyche/psycheCore/v*/cmt/setup.sh

#can not use this, in conflict with psycheCore
#source ${dir0}/ROOT/v*/amd64_linux26/bin/thisroot.sh 

return


#have to add one example file in nd280AnalysisTools/v0r7p1/AnalysisTools/input-file.list 
#has to be compiled in private directory so that some libs are available for highland; do following http://www.hep.lancs.ac.uk/nd280Doc/nd280AnalysisTools/v1r10/dox/outsideND280AnalysisTools.html
#cd nd280AnalysisTools/vXrYpZ/cmt
#cmt]$ rm -rf ../AnalysisTools/*.so
#or cmt]$ rm -rf ../amd64_linux26/AnalysisTools/*.so ../amd64_linux26/AnalysisTools/*.d ../amd64_linux26/AnalysisTools/*/*.so ../amd64_linux26/AnalysisTools/*/*.d
#cmt config #needed to set path correct in setup.sh if copied from somewhere else
#source setup.sh
#make analysisTools




